package com.yanqu.road.server.timer.shuihuyezicard;

import com.yanqu.road.server.manager.activity.shuihuyezipai.ShuiHuYeZiCardActivityBattleMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @Description 自动出牌
 * @Author cwq
 * @Data 2021/12/8 11:42
 */
public class ShuiHuYeZiCardAutoPlayCardTask extends GeneralTask {

    protected Logger logger = LogManager.getLogger(ShuiHuYeZiCardAutoPlayCardTask.class.getName());

    @Override
    public void doRun() {
        try {
            ShuiHuYeZiCardActivityBattleMgr.autoPlayCard();
        }catch (Exception e) {
            logger.error(e.getMessage(), e);
        }
    }
}
